let isdev = process.env.NODE_ENV === 'development'
let config = {
	protocol: 'https://',
	// baseUrl: isdev ? '107.151.195.124' : '581271.cc',
	baseUrl:  '581271.cc',
	httPort: isdev ? '84' : '', // HTTP端口，80端口留空，ws端口请在后台插件配置中进行配置
	noNeedLogin: [ // 无需登录的api
		'/api/sms/send',
		'/addons/fastim/api.user/login',
		'/addons/fastim/api.user/register',
		'/addons/fastim/api.user/password',
		'/addons/fastim/api.user/captchaPre',
	]
}

config.httpUrl = config.protocol + config.baseUrl + (config.httPort == '' ? '' : ':' + config.httPort)

export default config